<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of NetworkController
 *
 * @author mateusz.ledzewicz
 */
abstract class FormListController extends Controller {

    protected function run() {
        
        $type = (isSet($_GET[ConfigInput::actionGet])) ? $_GET[ConfigInput::actionGet] : null;
        switch($type){
            case ConfigInput::actionList:
                $this->listRun();
            break;
            case ConfigInput::actionEdit:
               $this->formRun();
            break;
            case ConfigInput::actionDel:
               $this->delRun();
            break;
            default:
                
            break; 
        }
    }
    
    protected function listRun(){}
    protected function formRun(){}
    protected function delRun(){}
    
    
}

?>
